<!doctype html>
<html lang="en">
<head>
    <script src="{{asset('js/jquery.min.js')}}"></script>
    <script>
        $(function(){
            let data = {"picture":$("#picture").files[0]};
            $.ajax({
                url:"/upload_img",
                type:"POST",
                cache: false,
                processData: false,
                contentType: false,
                data:data,
                success:function(data){

                }
            });
        });
    </script>
</head>
<body>
<input type="file" name="picture"/>
</body>